<h1>⭐️使用说明</h1>


<h2>日期格式化</h2>
<script src="./utils.js"></script>
<script>
    dateFormat("2021-11-26 11:27:12");
</script>



<h2>判断什么浏览器内核</h2>
<script src="./utils.js"></script>
<script>
    console.log(browserData())
</script>



<h2>判断是否是移动端</h2>
<script src="./utils.js"></script>



<h2>判断是否是微信浏览器</h2>
<script src="./utils.js"></script>
<script>
    alert(is_weixn())
</script>



<h2>图片懒加载</h2>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="./imgs/1.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="./imgs/2.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="./imgs/3.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="./imgs/4.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="./imgs/5.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="./imgs/6.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="./imgs/7.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="./imgs/8.jpg" alt="">
<script src="./lazyload.js"></script>


<h1>仿JSON内置API parse方法</h1>
<script src="./json.js"></script>
<script>
    console.log(parse('{ "a": "1", "b": "2" }'))
</script>



<h1>仿JSON内置API stringify方法</h1>
<script src="./json.js"></script>
<script>
    console.log(stringify({ a: 1, b: 2 }))
</script>


<h1>ajax回调函数封装：get方法/post方法</h1>
<script src="./ajax.js"></script>